#ifndef __TCP_SYS_H__
#define __TCP_SYS_H__


#include "main.h"


#define		Slave_Address			0x00000011
enum Fun_Config{
	Frame_Head 	= 0x70,
	Frame_Trail = 0x55,
	Fun_Requst  = 0x11,
	Fun_End		= 0x33,
	Fun_Affirm	= 0x22,
	Fun_Read 	= 0xCC,
	Fun_Register= 0x44,
	Fun_Value	= 0xAA,
	Fun_Time	= 0xBB,
	Fun_OTA		= 0xDD,
	Fun_Rest	= 0xFF
};













void Upload_Config(void);
void Fun_Order(uint8_t Fun_Value);
uint8_t SYS_Process(uint8_t buf[]);

#endif
